using ReflectionStudio.Core.Events;
using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using System.Windows.Input;
using WPFExcelReport.Helpers;
using INTEX.DataBase;
using ReflectionStudio.Core.Events;
using System;
using System.Data;
using System.Windows;
using System.Windows.Data;
namespace WPFExcelReport
{
    public partial class VK02
    {

        public VK02()
        {

            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            DataContext = new VVK02();
            InitializeComponent();
        }

    }
    public partial class VVK02: ViewModelBase
    {
        public VVK02() : base()
        {

            switch (app.company)
            {
                default:
                case "YGR":
                case "YCC":
                case "TST":
                    SetEnv = new YGRDB();
                    SetData = new YGRDB();
                    SetProd = new YGRDB();
                    break;
                case "JLT":
                    SetEnv = new JLTDB();
                    SetData = new JLTDB();
                    SetProd = new JLTDB();
                    break;
            }
            TableName = "VKPOS";
        }
        #region=Property========
        //-----Property---
         public string AUSWAHL { get { if (dwMaster == null) return ""; return dwMaster["AUSWAHL"].ToString(); } set { if (dwMaster == null) return; dwMaster["AUSWAHL"] = value; OnPropertyChanged("AUSWAHL", value); } }
 public string GEGEN { get { if (dwMaster == null) return ""; return dwMaster["GEGEN"].ToString(); } set { if (dwMaster == null) return; dwMaster["GEGEN"] = value; OnPropertyChanged("GEGEN", value); } }
 public string ERL { get { if (dwMaster == null) return ""; return dwMaster["ERL"].ToString(); } set { if (dwMaster == null) return; dwMaster["ERL"] = value; OnPropertyChanged("ERL", value); } }
 public string LRUECK { get { if (dwMaster == null) return ""; return dwMaster["LRUECK"].ToString(); } set { if (dwMaster == null) return; dwMaster["LRUECK"] = value; OnPropertyChanged("LRUECK", value); } }
 public string ZRUECK { get { if (dwMaster == null) return ""; return dwMaster["ZRUECK"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZRUECK"] = value; OnPropertyChanged("ZRUECK", value); } }
 public string FREIGABE { get { if (dwMaster == null) return ""; return dwMaster["FREIGABE"].ToString(); } set { if (dwMaster == null) return; dwMaster["FREIGABE"] = value; OnPropertyChanged("FREIGABE", value); } }
 public string KOLL { get { if (dwMaster == null) return ""; return dwMaster["KOLL"].ToString(); } set { if (dwMaster == null) return; dwMaster["KOLL"] = value; OnPropertyChanged("KOLL", value); } }
 public string ART { get { if (dwMaster == null) return ""; return dwMaster["ART"].ToString(); } set { if (dwMaster == null) return; dwMaster["ART"] = value; OnPropertyChanged("ART", value); } }
 public string OBERKOLL { get { if (dwMaster == null) return ""; return dwMaster["OBERKOLL"].ToString(); } set { if (dwMaster == null) return; dwMaster["OBERKOLL"] = value; OnPropertyChanged("OBERKOLL", value); } }
 public string FARBE { get { if (dwMaster == null) return ""; return dwMaster["FARBE"].ToString(); } set { if (dwMaster == null) return; dwMaster["FARBE"] = value; OnPropertyChanged("FARBE", value); } }
 public string GROE { get { if (dwMaster == null) return ""; return dwMaster["GROE"].ToString(); } set { if (dwMaster == null) return; dwMaster["GROE"] = value; OnPropertyChanged("GROE", value); } }
 public string ZENSUR { get { if (dwMaster == null) return ""; return dwMaster["ZENSUR"].ToString(); } set { if (dwMaster == null) return; dwMaster["ZENSUR"] = value; OnPropertyChanged("ZENSUR", value); } }
 public string KOMMENT { get { if (dwMaster == null) return ""; return dwMaster["KOMMENT"].ToString(); } set { if (dwMaster == null) return; dwMaster["KOMMENT"] = value; OnPropertyChanged("KOMMENT", value); } }
 public string LINK { get { if (dwMaster == null) return ""; return dwMaster["LINK"].ToString(); } set { if (dwMaster == null) return; dwMaster["LINK"] = value; OnPropertyChanged("LINK", value); } }
 public string AUFTYP { get { if (dwMaster == null) return ""; return dwMaster["AUFTYP"].ToString(); } set { if (dwMaster == null) return; dwMaster["AUFTYP"] = value; OnPropertyChanged("AUFTYP", value); } }
 public string AUFART { get { if (dwMaster == null) return ""; return dwMaster["AUFART"].ToString(); } set { if (dwMaster == null) return; dwMaster["AUFART"] = value; OnPropertyChanged("AUFART", value); } }
 public string GESSTA { get { if (dwMaster == null) return ""; return dwMaster["GESSTA"].ToString(); } set { if (dwMaster == null) return; dwMaster["GESSTA"] = value; OnPropertyChanged("GESSTA", value); } }
 public string EINZSTA { get { if (dwMaster == null) return ""; return dwMaster["EINZSTA"].ToString(); } set { if (dwMaster == null) return; dwMaster["EINZSTA"] = value; OnPropertyChanged("EINZSTA", value); } }
 public string POSTYPGV { get { if (dwMaster == null) return ""; return dwMaster["POSTYPGV"].ToString(); } set { if (dwMaster == null) return; dwMaster["POSTYPGV"] = value; OnPropertyChanged("POSTYPGV", value); } }
 public string POSTYPGB { get { if (dwMaster == null) return ""; return dwMaster["POSTYPGB"].ToString(); } set { if (dwMaster == null) return; dwMaster["POSTYPGB"] = value; OnPropertyChanged("POSTYPGB", value); } }
 public string KUNDNR { get { if (dwMaster == null) return ""; return dwMaster["KUNDNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["KUNDNR"] = value; OnPropertyChanged("KUNDNR", value); } }
 public string KZKUNDE { get { if (dwMaster == null) return ""; return dwMaster["KZKUNDE"].ToString(); } set { if (dwMaster == null) return; dwMaster["KZKUNDE"] = value; OnPropertyChanged("KZKUNDE", value); } }
 public string VB { get { if (dwMaster == null) return ""; return dwMaster["VB"].ToString(); } set { if (dwMaster == null) return; dwMaster["VB"] = value; OnPropertyChanged("VB", value); } }
 public string VG { get { if (dwMaster == null) return ""; return dwMaster["VG"].ToString(); } set { if (dwMaster == null) return; dwMaster["VG"] = value; OnPropertyChanged("VG", value); } }
 public string AUFKRS { get { if (dwMaster == null) return ""; return dwMaster["AUFKRS"].ToString(); } set { if (dwMaster == null) return; dwMaster["AUFKRS"] = value; OnPropertyChanged("AUFKRS", value); } }
 public string AUFLFD { get { if (dwMaster == null) return ""; return dwMaster["AUFLFD"].ToString(); } set { if (dwMaster == null) return; dwMaster["AUFLFD"] = value; OnPropertyChanged("AUFLFD", value); } }
 public string AUFPOS { get { if (dwMaster == null) return ""; return dwMaster["AUFPOS"].ToString(); } set { if (dwMaster == null) return; dwMaster["AUFPOS"] = value; OnPropertyChanged("AUFPOS", value); } }
 public string AJ { get { if (dwMaster == null) return ""; return dwMaster["AJ"].ToString(); } set { if (dwMaster == null) return; dwMaster["AJ"] = value; OnPropertyChanged("AJ", value); } }
 public string VERTNR { get { if (dwMaster == null) return ""; return dwMaster["VERTNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["VERTNR"] = value; OnPropertyChanged("VERTNR", value); } }
 public string VERBNR { get { if (dwMaster == null) return ""; return dwMaster["VERBNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["VERBNR"] = value; OnPropertyChanged("VERBNR", value); } }
 public string VBZEKZ { get { if (dwMaster == null) return ""; return dwMaster["VBZEKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["VBZEKZ"] = value; OnPropertyChanged("VBZEKZ", value); } }
 public string PROJNR { get { if (dwMaster == null) return ""; return dwMaster["PROJNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["PROJNR"] = value; OnPropertyChanged("PROJNR", value); } }
 public string VERSLO { get { if (dwMaster == null) return ""; return dwMaster["VERSLO"].ToString(); } set { if (dwMaster == null) return; dwMaster["VERSLO"] = value; OnPropertyChanged("VERSLO", value); } }
 public string BESTNR { get { if (dwMaster == null) return ""; return dwMaster["BESTNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["BESTNR"] = value; OnPropertyChanged("BESTNR", value); } }
 public string KURZBEZ { get { if (dwMaster == null) return ""; return dwMaster["KURZBEZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["KURZBEZ"] = value; OnPropertyChanged("KURZBEZ", value); } }
 public string BEZKZ { get { if (dwMaster == null) return ""; return dwMaster["BEZKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["BEZKZ"] = value; OnPropertyChanged("BEZKZ", value); } }
 public string LTERMV { get { if (dwMaster == null) return ""; return dwMaster["LTERMV"].ToString(); } set { if (dwMaster == null) return; dwMaster["LTERMV"] = value; OnPropertyChanged("LTERMV", value); } }
 public string LTERMB { get { if (dwMaster == null) return ""; return dwMaster["LTERMB"].ToString(); } set { if (dwMaster == null) return; dwMaster["LTERMB"] = value; OnPropertyChanged("LTERMB", value); } }
 public string LTERMKZ { get { if (dwMaster == null) return ""; return dwMaster["LTERMKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["LTERMKZ"] = value; OnPropertyChanged("LTERMKZ", value); } }
 public string WUTERMV { get { if (dwMaster == null) return ""; return dwMaster["WUTERMV"].ToString(); } set { if (dwMaster == null) return; dwMaster["WUTERMV"] = value; OnPropertyChanged("WUTERMV", value); } }
 public string WUTERMB { get { if (dwMaster == null) return ""; return dwMaster["WUTERMB"].ToString(); } set { if (dwMaster == null) return; dwMaster["WUTERMB"] = value; OnPropertyChanged("WUTERMB", value); } }
 public string WVTERMV { get { if (dwMaster == null) return ""; return dwMaster["WVTERMV"].ToString(); } set { if (dwMaster == null) return; dwMaster["WVTERMV"] = value; OnPropertyChanged("WVTERMV", value); } }
 public string WVTERMB { get { if (dwMaster == null) return ""; return dwMaster["WVTERMB"].ToString(); } set { if (dwMaster == null) return; dwMaster["WVTERMB"] = value; OnPropertyChanged("WVTERMB", value); } }
 public string SOFORT { get { if (dwMaster == null) return ""; return dwMaster["SOFORT"].ToString(); } set { if (dwMaster == null) return; dwMaster["SOFORT"] = value; OnPropertyChanged("SOFORT", value); } }
 public string SORTKZ { get { if (dwMaster == null) return ""; return dwMaster["SORTKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["SORTKZ"] = value; OnPropertyChanged("SORTKZ", value); } }
 public string SFERTKZ { get { if (dwMaster == null) return ""; return dwMaster["SFERTKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["SFERTKZ"] = value; OnPropertyChanged("SFERTKZ", value); } }
 public string AUFBER { get { if (dwMaster == null) return ""; return dwMaster["AUFBER"].ToString(); } set { if (dwMaster == null) return; dwMaster["AUFBER"] = value; OnPropertyChanged("AUFBER", value); } }

        #endregion
    }
}
